<div class="page-toolbar">
    <div class="page-filter fr">
        <form class="layui-form layui-form-pane" action="{:url()}" method="get">
        <div class="layui-form-item">
            <label class="layui-form-label">搜索</label>
            <div class="layui-input-inline">
                <input type="text" name="q" value="{:input('get.q')}" lay-verify="required" placeholder="用户名、邮箱、手机、昵称" autocomplete="off" class="layui-input">
            </div>
        </div>
        </form>
    </div>
    <div class="layui-btn-group fl">
        <a href="{:url('add')}" class="layui-btn layui-btn-primary"><i class="aicon ai-tianjia"></i>添加</a>
        <a data-href="{:url('status?table=team&field=isclose&val=1')}" class="layui-btn layui-btn-primary j-page-btns"><i class="aicon ai-qiyong"></i>开启</a>
        <a data-href="{:url('status?table=team&field=isclose&val=0')}" class="layui-btn layui-btn-primary j-page-btns"><i class="aicon ai-jinyong1"></i>关闭</a>
        <a data-href="{:url('del?table=team')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="aicon ai-jinyong"></i>删除</a>
    </div>
</div>
<form id="pageListForm">
<div class="layui-form">
    <table class="layui-table mt10" lay-even="" lay-skin="row">
        <colgroup>
            <col width="50">
        </colgroup>
        <thead>
            <tr>
                <th><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
                <th>名称</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>是否官方</th>
				<th>是否关闭</th>
                <th>排序</th>
                <th>当前人数</th>
                <th>操作</th>
            </tr> 
        </thead>
        <tbody>
           
            {volist name="data_list" id="vo"}
            <tr>
                <td><input type="checkbox" name="ids[]" class="layui-checkbox checkbox-ids" value="{$vo['id']}" lay-skin="primary"></td>
                <td class="font18">
                    <p class="ml10 fl"><strong class="mcolor">{$vo['name']}</strong></p>
                </td>
                <td class="font18">{$vo['bdate']}</td>
				<td class="font18">{$vo['edate']}</td>
				<td class="font18">{:list_yn($vo['isgf'])}</td>
				<td class="font18">{:list_yn($vo['isclose'])}</td>
				<td class="font18">{$vo['zdorder']}</td>
				<td class="font18">{$vo['usernum']}</td>
		
              
                <td>
                    <div class="layui-btn-group">
                        <div class="layui-btn-group">
						<a    href="{:url('pm?type=day&id='.$vo['id'])}" class="layui-btn layui-btn-primary layui-btn-small  ">今日步数</a>
						 
						 <a   href="{:url('pm?type=ren&id='.$vo['id'])}" class="layui-btn layui-btn-primary layui-btn-small ">个人累计</a>
						 
                        <a href="{:url('edit?id='.$vo['id'])}" class="layui-btn layui-btn-primary layui-btn-small"><i class="layui-icon">&#xe642;</i></a>
                        <a data-href="{:url('del?table=team&ids='.$vo['id'])}" class="layui-btn layui-btn-primary layui-btn-small j-tr-del"><i class="layui-icon">&#xe640;</i></a>
						 <a data-href="{:url('edit?ql=1&id='.$vo['id'])}" class="layui-btn layui-btn-primary layui-btn-small j-tr-ql">数据清零</a>
                        </div>
                    </div>
                </td>
            </tr>
            {/volist}
        </tbody>
    </table>
    {$pages}
</div>
</form>